import { Layout } from 'antd';
import React, { useEffect } from 'react';
import './layout.css'
import MenuContainer from './Menu'
import { Outlet } from 'react-router-dom';
const { Header, Footer, Sider, Content } = Layout;
import {create } from 'zustand'
const App: React.FC = () => (
  <div>
    <Layout>
      <Sider>
        <MenuContainer></MenuContainer>
      </Sider>
      <Layout>
        <Header>Header</Header>
        <Content>
          <Outlet></Outlet>
        </Content>
      </Layout>
    </Layout>
  </div>
);

export default App;